package cn.iocoder.yudao.module.reading.controller.app.recording.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 录音上传 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 录音上传 Response VO")
@Data
public class RecordingUploadRespVO {

    @Schema(description = "录音记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long recordingId;

    @Schema(description = "录音文件URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://example.com/recording.mp3")
    private String audioUrl;

    @Schema(description = "录音时长（秒）", requiredMode = Schema.RequiredMode.REQUIRED, example = "30")
    private Integer duration;

    @Schema(description = "录音质量", example = "medium")
    private String quality;

    @Schema(description = "文件大小（字节）", example = "1024000")
    private Long fileSize;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-01-06T10:30:00")
    private LocalDateTime createTime;

    @Schema(description = "上传状态", example = "success")
    private String status;

    @Schema(description = "提示信息", example = "录音上传成功")
    private String message;

}
